Skip to content

fix: suppress JSON banner and force Maven resolution updates#3

Merged
ancongui merged 1 commit into
mainfrom
develop
Feb 10, 2026
Merged

fix: suppress JSON banner and force Maven resolution updates#3
ancongui merged 1 commit into
mainfrom
develop

Conversation

@ancongui
Copy link
Copy Markdown
Contributor

Summary

  • Suppress ASCII art banner when --json flag is set to prevent corrupting JSON output parsed by the DAG orchestrator
  • Add -U flag to Maven install commands to force re-resolution of cached failures during flywork setup

Test plan

  • go vet ./... passes
  • go build succeeds
  • flywork dag export --json | jq . outputs clean JSON (no banner)
  • flywork setup --fresh completes without first-pass dependency failures

During flywork setup, Maven caches failed remote lookups in .lastUpdated
files. When building repos sequentially by DAG layer, artifacts installed
locally by a previous layer can be missed because Maven serves the cached
failure instead of rechecking. The -U flag forces Maven to ignore these
caches and always re-resolve, fixing first-pass build failures.
@ancongui ancongui merged commit d8ec8d4 into main Feb 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant